Optimal. Leaf size=152 \[ -\frac {\sqrt {1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}} F_1\left (-\frac {1}{n};\frac {3}{2},\frac {3}{2};-\frac {1-n}{n};-\frac {2 c x^n}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )}{a x \sqrt {a+b x^n+c x^{2 n}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 152, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {1399, 524}
\begin {gather*} -\frac {\sqrt {\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}+1} \sqrt {\frac {2 c x^n}{\sqrt {b^2-4 a c}+b}+1} F_1\left (-\frac {1}{n};\frac {3}{2},\frac {3}{2};-\frac {1-n}{n};-\frac {2 c x^n}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )}{a x \sqrt {a+b x^n+c x^{2 n}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 524
Rule 1399
Rubi steps
\begin {align*} \int \frac {1}{x^2 \left (a+b x^n+c x^{2 n}\right )^{3/2}} \, dx &=\frac {\left (\sqrt {1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}}\right ) \int \frac {1}{x^2 \left (1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}\right )^{3/2} \left (1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )^{3/2}} \, dx}{a \sqrt {a+b x^n+c x^{2 n}}}\\ &=-\frac {\sqrt {1+\frac {2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}} F_1\left (-\frac {1}{n};\frac {3}{2},\frac {3}{2};-\frac {1-n}{n};-\frac {2 c x^n}{b-\sqrt {b^2-4 a c}},-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}}\right )}{a x \sqrt {a+b x^n+c x^{2 n}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(395\) vs. \(2(152)=304\).
time = 0.59, size = 395, normalized size = 2.60 \begin {gather*} \frac {(-1+n) \left (-4 a c (1+n)+b^2 (2+n)\right ) \sqrt {\frac {b-\sqrt {b^2-4 a c}+2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x^n}{b+\sqrt {b^2-4 a c}}} F_1\left (-\frac {1}{n};\frac {1}{2},\frac {1}{2};\frac {-1+n}{n};-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}},\frac {2 c x^n}{-b+\sqrt {b^2-4 a c}}\right )-2 \left ((-1+n) \left (b^2-2 a c+b c x^n\right )+b c x^n \sqrt {\frac {b-\sqrt {b^2-4 a c}+2 c x^n}{b-\sqrt {b^2-4 a c}}} \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c x^n}{b+\sqrt {b^2-4 a c}}} F_1\left (\frac {-1+n}{n};\frac {1}{2},\frac {1}{2};2-\frac {1}{n};-\frac {2 c x^n}{b+\sqrt {b^2-4 a c}},\frac {2 c x^n}{-b+\sqrt {b^2-4 a c}}\right )\right )}{a \left (-b^2+4 a c\right ) (-1+n) n x \sqrt {a+x^n \left (b+c x^n\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {1}{x^{2} \left (a +b \,x^{n}+c \,x^{2 n}\right )^{\frac {3}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x^{2} \left (a + b x^{n} + c x^{2 n}\right )^{\frac {3}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{x^2\,{\left (a+b\,x^n+c\,x^{2\,n}\right )}^{3/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________